#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

#include "MSTK.h"

#ifdef __cplusplus
extern "C" {
#endif


int MESH_Vol_RecvMesh(Mesh_ptr mesh, int rank, MPI_Comm comm) {
  int i, j, k, idx, max_nfv;
  int nv, nf;
  MVertex_ptr mv;
  MFace_ptr mf;
  
  /* basic mesh information */
  nv = 10000;
  nf = 20000;
  /*
  struct PVertex *list_vertex = (PVertex *)MSTK_malloc(nv*sizeof(PVertex));
  */
  /* collect data */
 
  /*
    MPI_Recv(list_vertex,nv,PVertex_MPI,
    struct PVertex *list_vertex = (PVertex *)MSTK_malloc(nv*sizeof(PVertex));
    for(i = 0; i < nv; i++) {
    mv = MESH_Vertex(mesh,i);
    MV_to_PV(mv,&list_vertex[i]);
  }
    

  */

  
  return 1;
}
  
#ifdef __cplusplus
}
#endif

